body {
  font-family: Fira Code, Microsoft Yahei, sans-serif;
}
:root,
body {
  margin: 0;
  padding: 0;
  font-size: 1.1em;
}
body {
  --color: #111111;
  --bg-color: #eeeeee;
  --active-color: #0006c1;
  --em-bg-color: #ffdbca;
  --strong-color: #868600;
}
body[data-theme='dark'] {
  --color: #eeeeee;
  --bg-color: #1e1e1e;
  --active-color: #9fa3ff;
  --em-bg-color: #131600;
  --strong-color: #dddd00;
}

a {
  color: var(--active-color);
}
a:visited {
  color: var(--active-color);
  opacity: 0.2;
}
body {
  background: var(--bg-color);
  color: var(--color);
}
div.content {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
div.document {
  flex: 1 1 0;
  display: flex;
  column-gap: 1em;
  height: 0;
  width: 100%;
  position: relative;
  padding-top: 1em;
}
div.documentwrapper {
  flex: 1 1 0;
  overflow: auto;
  padding: 1em;
}
div.documentwrapper h1,
div.documentwrapper h2,
div.documentwrapper h3,
div.documentwrapper h4,
div.documentwrapper h5,
div.documentwrapper h6 {
  margin-left: -1rem;
}
div.sphinxsidebar {
  overflow: auto;
  top: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  max-width: 30vw;
  min-width: 18vw;
  border-right: solid 0.1em var(--color);
  padding: 0 1em;
  font-size: 0.8em;
}
body[data-menu-fold='true'] div.sphinxsidebar {
  display: none;
}
body[data-menu-fold='true'] div.documentwrapper {
  padding-left: 2em;
}
@media (max-width: 50em) {
  div.sphinxsidebar{
    position: absolute;
    inset: 0;
    z-index: 1;
    max-width: unset;
    min-width: unset;
    border: none;
    background: var(--bg-color);
    padding-top: 1em;
  }
}
div.sphinxsidebar ul {
  padding: 0;
  margin: 0;
}
div.sphinxsidebar li > ul {
  margin-left: 2em;
}
div.sphinxsidebarwrapper div.top-line {
  font-size: 1.6em;
  font-weight: bold;
  text-align: right;
  display: flex;
  justify-content: stretch;
  align-items: center;
  column-gap: 0.5em;
}
div.sphinxsidebarwrapper > a {
  text-decoration: none;
  color: var(--color);
}
div.sphinxsidebarwrapper div.top-line .logo {
  flex: 0 1 auto;
  width: 2.5em;
}
div.sphinxsidebarwrapper div.top-line div {
  flex: 0 1 auto;
  text-decoration: none;
}
div.sphinxsidebarwrapper > * {
  margin-left: 1em;
}
div.sphinxsidebarwrapper > * > h3 {
  margin-left: -1em;
}
div.related {
  position: sticky;
  top: 0;
  padding: 0.5em 0.3em;
  width: unset;
  background: var(--bg-color);
  border-bottom: solid 0.1em var(--color);
}
div.related > div {
  display: flex;
  align-items: center;
  column-gap: 1em;
}
div.related > div > .right {
  margin-left: auto;
  text-transform: capitalize;
}

div.related > div > ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  column-gap: 0.2em;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}
div.related > div > ul *{
  text-wrap: nowrap;
  white-space: nowrap;
}
div.footer {
  padding: 0.5em 0.3em;
  border-top: solid 0.1em var(--color);
  bottom: 0;
  text-align: center;
  font-size: 1em;
  overflow-x: auto;
}
div.footer p {
  margin: 0;
  padding: 0;
  text-wrap: nowrap;
  white-space: nowrap;
}

form {
  display: flex;
  align-items: stretch;
  padding: ;
}
form.search input,
form.search button {
  display: block;
  background: var(--bg-color);
  color: var(--color);
  border: solid 0.1em var(--color);
  border-radius: 0.2em;
  outline: none;
  font-size: 1.2em;
}
form.search input[type='text'] {
  flex: 1 1 auto;
}
table {
  padding: 0.5em;
  border: solid 0.1em var(--color);
}
tr {
  border: solid 0.1em var(--color);
}
table * {
  background: var(--bg-color);
  color: var(--color);
}
dt:target,
span.highlighted {
  border: solid 0.1em var(--active-color);
  background: unset;
}
.search-page-form * {
  font-size: 1.5em;
  padding: 0.3em 0.5em;
}
button {
  cursor: pointer;
}
.body {
  width: unset;
  max-width: unset;
  min-width: 300px;
}
.headerlink {
  margin-left: 0.2em;
  color: var(--active-color);
  opacity: 0.3;
}
.headerlink:hover,
.headerlink:active {
  opacity: 1;
}
::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em;
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--color);
  border-radius: 0.5em;
}
#build-info-content .final {
  display: flex;
}
#build-info-content p {
  margin: 0;
  padding: 0;
}
#build-info-content .info-name::after {
  content: ':';
}
#build-info-content .info-name {
  font-weight: bold;
  margin-right: 0.5em;
}
#build-info-content .info-group {
  margin-left: 2em;
}
#build-info-content ul {
  margin: 0 0 0 2em;
  padding: 0 0 0 1em;
}
button#theme-button,
button#menu-fold-button {
  display: block;
  height: 1.2em;
  width: 1.2em;
  font-size: 1.3em;
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  margin: none;
  padding: none;
  color: var(--color);

}
button#theme-button:hover,
button#menu-fold-button:hover{
  color: var(--active-color);
}
button#menu-fold-button {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0.3em;
  z-index: 2;
}
button#theme-button .theme-button-inner div,
button#menu-fold-button .menu-fold-button-inner div {
  position: absolute;
  inset: 0;
  font-size: 1.1em;
}
body[data-theme='dark'] button#theme-button div[data-theme='light'] {
  opacity: 0;
}
body[data-theme='light'] button#theme-button div[data-theme='dark'] {
  opacity: 0;
}
body[data-menu-fold='true']
  button#menu-fold-button
  .menu-fold-button-inner
  div[data-menu-fold='true'] {
  opacity: 0;
}
body[data-menu-fold='false']
  button#menu-fold-button
  .menu-fold-button-inner
  div[data-menu-fold='false'] {
  opacity: 0;
}
.fontello {
  font-family: fontello;
}
pre {
  position: relative;
}
pre .code-copy-button {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--em-bg-color);
  color: var(--color);
  border: none;
  outline: none;
  padding: 0.4em 1em;
  margin: 0;
  cursor: pointer;
  font-size: 0.8em;
  border-radius: 0.8em 0.8em 0 0;
  transition: 0.3s;
}

pre .code-copy-button:hover,
pre .code-copy-button:active,
pre.code-copy-button:focus {
  color: var(--bg-color);
  border-color: var(--bg-color);
  background: var(--active-color);
  font-size: 0.9em;
}

span.versionmodified{
  color: var(--strong-color);
  font-weight: bold;
}
div.versionchanged,div.versionadded, div.deprecated{
  background-color: var(--em-bg-color);
  padding: 0.5em;
  border-radius: 0.5em;
  margin-block-start: 1em;
  margin-block-end: 1em;
  width: fit-content;
}
dl div.versionchanged,dl div.versionadded, dl div.deprecated{
  padding-inline-start: 1.5em;
  text-indent: -1em;
  margin-inline-start: -1.5em;
}
div.versionchanged p,div.versionadded p, div.deprecated p{
  margin: 0;
}
.field-list dd.field-odd{
  margin-inline-start: 0.5em;
}
dl.py{
  margin-block-start: 2em;
  margin-block-end: 2em;
}
p{
  margin-block-end: 0.6em;
  margin-block-start: 0.6em;
}
.sig-object {
  padding-inline-start: 1em;
  text-indent: -1.5em;
  font-weight: bold;
}